export const topMenu = {
  id: 0,
  createTime: '2022-06-01T05:56:48.603Z',
  name: 'string',
  subMenus: [
    {
      id: 0,
      createTime: '2022-06-01T05:56:48.604Z',
      name: 'string',
      subMenus: ['string'],
      path: 'string',
      parentMenu: {
        id: 0,
        createTime: '2022-06-01T05:56:48.604Z',
        name: 'string',
        subMenus: ['string'],
        path: 'string',
      },
    },
  ],
  path: 'string',
  icon: 'string',
};
export interface TopMenu {
  id: number;
  createTime: Date;
  name: string;
  subMenus?: TopMenu;
  path: string;
  icon: string;
}
// type ValueOf<T> = T[keyof T];
// export type TopMenuTable = ValueOf<typeof topMenu>;
